package com.ruoyi.eqmonitor.mapper;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.eqmonitor.domain.OptPatrolRecord;
import com.ruoyi.eqmonitor.dtos.OptPatrolRecordDto;

/**
 * @author ruoyi
 * @date 2022-12-05
 */
public interface OptPatrolRecordMapper extends BaseMapper<OptPatrolRecord>{

    public List<OptPatrolRecord> selectOptPatrolRecordList(OptPatrolRecord optPatrolRecord);
    
    public OptPatrolRecord selectOptPatrolRecordById(Long id);

    List<Map<String, Object>> patrolStatistics(OptPatrolRecordDto dto);
}
